Skip to content

chore: use CloudFlare R2 storage for snapshot storage#17115

Merged
spypsy merged 1 commit intonextfrom
spy/r2-snapshots
Sep 25, 2025
Merged

chore: use CloudFlare R2 storage for snapshot storage#17115
spypsy merged 1 commit intonextfrom
spy/r2-snapshots

Conversation

@spypsy
Copy link
Member

@spypsy spypsy commented Sep 17, 2025

Fixes https://linear.app/aztec-labs/issue/TMNT-269/migrate-snapshots-to-cloudflare-r2

Uses public r2.dev URL for now which is rate limited to "100s of reqs / sec".

@spypsy spypsy marked this pull request as ready for review September 19, 2025 12:11
@spypsy spypsy requested a review from charlielye as a code owner September 19, 2025 12:11
@socket-security
Copy link

socket-security bot commented Sep 19, 2025

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​@​aws-sdk/​client-s3@​3.896.09810010097100

View full report

@spypsy spypsy changed the title chore: migrate snapshots to CloudFlare R2 storage chore: use CloudFlare R2 storage for snapshot storage Sep 19, 2025
@AztecBot AztecBot enabled auto-merge September 22, 2025 10:43

import publicIncludeMetrics from '../../public_include_metric_prefixes.json' with { type: 'json' };

const SNAPSHOT_URL = 'https://pub-f4a8c34d4bb7441ebf8f48d904512180.r2.dev/snapshots';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

domain name 🥺

@AztecBot AztecBot added this pull request to the merge queue Sep 25, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 25, 2025
@spypsy spypsy enabled auto-merge September 25, 2025 15:06
@spypsy spypsy added this pull request to the merge queue Sep 25, 2025
Merged via the queue into next with commit 25e6876 Sep 25, 2025
14 checks passed
@spypsy spypsy deleted the spy/r2-snapshots branch September 25, 2025 16:22
@AztecBot
Copy link
Collaborator

💔 All backports failed

Status Branch Result
v2 Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

backport --pr 17115

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

spypsy added a commit that referenced this pull request Oct 7, 2025
Fixes
[A-23](https://linear.app/aztec-labs/issue/A-23/migrate-snapshots-to-cloudflare-r2)
Backporting:
#17115
#17434
#17511

---------

Co-authored-by: spypsy <6403450+spypsy@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants